package cc.mrbird.event.service;

import cc.mrbird.common.domain.QueryRequest;
import cc.mrbird.common.service.IService;
import cc.mrbird.event.domain.EventInformation;
import org.springframework.cache.annotation.CacheConfig;

import java.util.List;

@CacheConfig(cacheNames = "EventInformationService")
public interface EventInformationService extends IService<EventInformation> {

    void add(EventInformation eventInformation);

    List<EventInformation> findAllTypeAndId();

    List<EventInformation> findAllEvent(String nextTime);

    List<EventInformation> findAllByAlarmType();

    List<EventInformation> fingAllByIdsAndType(String group_concat);
}
